package com.rosebud.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.rosebud.bean.User;

@Component
public interface UserMapper {

	User getUser(int userId);

	@Delete("delete ts_user where id = #{userId}")
	int delUser(@Param("userId") int userId);
}
